package net.huashitong.node.entity;

import com.sirdc.modules.core.entity.StringEntity;
import org.hibernate.annotations.Cache;
import org.hibernate.annotations.CacheConcurrencyStrategy;

import javax.persistence.Entity;
import javax.persistence.Table;
import javax.persistence.Transient;

//@Cache(usage = CacheConcurrencyStrategy.NONSTRICT_READ_WRITE)//添加缓存注解
@Entity
@Table(name = "t_bnp_node_newschedule")
public class NodeNewschedules extends StringEntity {

    /**
     *
     */
    private static final long serialVersionUID = 1L;
    private String nodeId;// 节点编号
    private String nodeIds;//节点编号没有.
    private String preNodeId;// 前置节点编号
    private String nodeName;// 节点名称
    private String resDept;// 责任单位
    private String resUser;// 责任人
    private String resUserPhone;// 责任人联系方式
    private String operatorUser;//经办人
    private String operatorPhone;//经办人电话
    private String type;// 类型，节点/任务
    private String nodeType;//
    private String planTime;//计划用时
    private String factTime;//实际用时
    private String planBeginDate;//开始时间（正式开始时间）
    private String factFinishDate;//结束时间

    //**新增**
    private String nodePlanStartDate;       //节点计划开始时间（节点启动时确定下来,修改节点需不需要时候更新）
    private String nodePlanEndDate;         //节点计划结束时间（节点启动时确定下来,修改节点需不需要时候更新）
    private String processOrderNumber ;     //节点流程序号
    //**新增**

    private String status;//状态 0 未开始 1 已开始 2 结束
    private String projectId;//项目ID
    private String state;//大节点= 状态 0 未确定 1 （部门已确定），小节点  状态 0 未确定 1(部门确定需要) 2（部门确定不需要） 3 业主已配置信息
    private String nodeFilter;//节点备案文件
    private String denyReason;//拒绝理由
    private String isDelay;  //0正常 1 逾期，2 超前

    private String groupCode;           //督查组编码
    private String groupName;           //督查组名称

    private Double progress;//节点进度

    @Transient
    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public String getNodeId() {
        return nodeId;
    }

    public void setNodeId(String nodeId) {
        this.nodeId = nodeId;
    }

    public String getPreNodeId() {
        return preNodeId;
    }

    public void setPreNodeId(String preNodeId) {
        this.preNodeId = preNodeId;
    }

    public String getNodeName() {
        return nodeName;
    }

    public void setNodeName(String nodeName) {
        this.nodeName = nodeName;
    }

    public String getResDept() {
        return resDept;
    }

    public void setResDept(String resDept) {
        this.resDept = resDept;
    }

    public String getResUser() {
        return resUser;
    }

    public void setResUser(String resUser) {
        this.resUser = resUser;
    }

    public String getResUserPhone() {
        return resUserPhone;
    }

    public void setResUserPhone(String resUserPhone) {
        this.resUserPhone = resUserPhone;
    }

    public String getOperatorUser() {
        return operatorUser;
    }

    public void setOperatorUser(String operatorUser) {
        this.operatorUser = operatorUser;
    }

    public String getOperatorPhone() {
        return operatorPhone;
    }

    public void setOperatorPhone(String operatorPhone) {
        this.operatorPhone = operatorPhone;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getNodeType() {
        return nodeType;
    }

    public void setNodeType(String nodeType) {
        this.nodeType = nodeType;
    }

    public String getPlanTime() {
        return planTime;
    }

    public void setPlanTime(String planTime) {
        this.planTime = planTime;
    }

    public String getFactTime() {
        return factTime;
    }

    public void setFactTime(String factTime) {
        this.factTime = factTime;
    }

    public String getPlanBeginDate() {
        return planBeginDate;
    }

    public void setPlanBeginDate(String planBeginDate) {
        this.planBeginDate = planBeginDate;
    }

    public String getFactFinishDate() {
        return factFinishDate;
    }

    public void setFactFinishDate(String factFinishDate) {
        this.factFinishDate = factFinishDate;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public String getProjectId() {
        return projectId;
    }

    public void setProjectId(String projectId) {
        this.projectId = projectId;
    }

    public String getNodeIds() {
        return nodeIds;
    }

    public void setNodeIds(String nodeIds) {
        this.nodeIds = nodeIds;
    }

    public String getState() {
        return state;
    }

    public void setState(String state) {
        this.state = state;
    }

    public String getNodeFilter() {
        return nodeFilter;
    }

    public void setNodeFilter(String nodeFilter) {
        this.nodeFilter = nodeFilter;
    }

    public String getDenyReason() {
        return denyReason;
    }

    public void setDenyReason(String denyReason) {
        this.denyReason = denyReason;
    }

    public String getIsDelay() {
        return isDelay;
    }

    public void setIsDelay(String isDelay) {
        this.isDelay = isDelay;
    }

    public String getGroupCode() {
        return groupCode;
    }

    public void setGroupCode(String groupCode) {
        this.groupCode = groupCode;
    }

    public String getGroupName() {
        return groupName;
    }

    public void setGroupName(String groupName) {
        this.groupName = groupName;
    }

    public String getNodePlanStartDate() {
        return nodePlanStartDate;
    }

    public void setNodePlanStartDate(String nodePlanStartDate) {
        this.nodePlanStartDate = nodePlanStartDate;
    }

    public String getNodePlanEndDate() {
        return nodePlanEndDate;
    }

    public void setNodePlanEndDate(String nodePlanEndDate) {
        this.nodePlanEndDate = nodePlanEndDate;
    }

    public String getProcessOrderNumber() {
        return processOrderNumber;
    }

    public void setProcessOrderNumber(String processOrderNumber) {
        this.processOrderNumber = processOrderNumber;
    }
}
